package com.funsport.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 更新后台管理用户请求
 */
@Data
@Schema(description = "更新后台管理用户请求")
public class AdminUserUpdateRequest {
    
    @NotNull(message = "用户ID不能为空")
    @Schema(description = "用户ID", required = true)
    private Long id;
    
    @Schema(description = "昵称/用户名")
    private String nickname;
    
    @Schema(description = "新密码（如果需要修改）")
    private String password;
    
    @Schema(description = "手机号")
    private String phone;
    
    @Schema(description = "邮箱")
    private String email;
    
    @Schema(description = "头像URL")
    private String avatar;
    
    @Schema(description = "角色ID列表")
    private List<Long> roleIds;
    
    @Schema(description = "状态 (active/banned)")
    private String status;
    
    @Schema(description = "备注")
    private String remark;
}

